//
//  HomePageModel.m
//  PersonnelWashCar
//
//  Created by 就是这么自信 on 16/5/13.
//  Copyright © 2016年 张越. All rights reserved.
//

#import "HomePageModel.h"

@implementation HomePageModel

+(id)modelToDictionary:(NSDictionary *)dic;
{
    HomePageModel *model = [[HomePageModel alloc] init];
    
    model.name = [dic objectForKey:@"name"];
    model.sn = [dic objectForKey:@"sn"];
    model.carnum = [dic objectForKey:@"carnum"];
    model.carlocation = [dic objectForKey:@"carlocation"];
    model.oid = [dic objectForKey:@"oid"];
    model.ordertime = [dic objectForKey:@"ordertime"];
    model.price = [dic objectForKey:@"pirce"];
    model.is_grab = [dic objectForKey:@"is_grab"];
    model.reason = [dic objectForKey:@"reason"];
    return model;
}


@end
